﻿using T.Common.Domain.Common;
using MediatR;
using SqlSugar;
using Microsoft.AspNetCore.Mvc.RazorPages;
using RedDragon.Common.Dtos;
using RedDragon.Common.Domain.Manufacture;
namespace RedDragon.ERP.API.Application.Commands.WorkCenter
{
    public class QueryWorkCenterCommand : IRequest<Result<PageResultDto<WorkCenters>>>
    {
        /// <summary>
        /// 工作编码 (雪花id)
        /// </summary>
        public string WorkCenterCode { get; set; }
        /// <summary>
        /// 工作中心名称
        /// </summary>
        public string WorkCenterName { get; set; }
        /// <summary>
        /// 工作中心类型
        /// </summary>
        public string WorkCenterType { get; set; }
        /// <summary>
        /// 状态 1-有效；2-无效
        /// </summary>
        public int WorkCenterState { get; set; }
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }
    }
}
